import request from '@/utils/request'

// 查询币别列表
export function listFinCurrency(query) {
  return request({
    url: '/project/FinCurrency/list',
    method: 'get',
    params: query
  })
}

// 查询币别详细
export function getFinCurrency(id) {
  return request({
    url: '/project/FinCurrency/' + id,
    method: 'get'
  })
}

// 新增币别
export function addFinCurrency(data) {
  return request({
    url: '/project/FinCurrency',
    method: 'post',
    data: data
  })
}

// 修改币别
export function updateFinCurrency(data) {
  return request({
    url: '/project/FinCurrency',
    method: 'put',
    data: data
  })
}

// 删除币别
export function delFinCurrency(id) {
  return request({
    url: '/project/FinCurrency/' + id,
    method: 'delete'
  })
}
